<template>
  <!--空-->
  <div class="empty-box">
    <div class="empty-content">
      <div class="empty-icon">
        <!-- <svg-icon :icon-class="info.icon"/> -->
        <!-- <span v-text="info.icon"></span> -->
      </div>
      <div class="empty-desc">
        <span v-text="info.describe"></span>
      </div>
    </div>
  </div>
</template>

<script>
    export default {
        data() {
            return {
                info: {
                    icon: "layers",
                    describe: "暂无数据"
                }
            }
        }
    }
</script>

<style scoped>
  .empty-box {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .empty-content {
    cursor: pointer;
    user-select: none;
    position: absolute;
    top:30%;
    left: 0;
    right: 0;
    margin: auto;
    width: 100px;
  }
  .empty-icon {
    width: 100px;
    /* height:30px; */
    /* line-height: 30px; */
    text-align: center;
    /* font-size: 50px; */
    /*color: #1c1f25;*/
    color: rgba(255, 255, 255,0.4);
  }
  .empty-desc {
    width: 100px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    /*color: #1c1f25;*/
    color: rgba(255, 255, 255,0.4);
  }
</style>
